package pdf解析.aspect;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

/**
 * @author caihe
 * @date 2022/3/15 14:10
 */
@Component
@Aspect
public class RpcMethodAspect {
    
    @Pointcut("@annotation(pdf解析.annotation.RpcMethod)")
    public void rpcMethodAspect(){}
    
    @Before("rpcMethodAspect()")
    public void rpcMethodAspectProxy(JoinPoint pjp) {
        System.out.println("---------------测试测试----------------------");
    }
    
}
